package com.ecar.core.common.dao;

import org.apache.ibatis.annotations.Param;

import com.ecar.common.dao.mybatis.MybatisMapper;
import com.ecar.core.common.entity.EcarUser;

public interface EcarUserMapper extends MybatisMapper{
    int deleteByPrimaryKey(String id);

    int insert(EcarUser record);

    int insertSelective(EcarUser record);

    EcarUser selectByPrimaryKey(String id);

    int updateByPrimaryKeySelective(EcarUser record);

    int updateByPrimaryKey(EcarUser record);
    
    EcarUser findByUsername(@Param("username") String username);
}